package com.lsu.app.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author hjj
 * @date 2023/11/12 21:44
 */
@Data
@ApiModel(value="XYData对象", description="教师界面可视化[折线图-点击率]")
public class XYData {
    @ApiModelProperty("折线图x坐标值(时刻)")
    private String[] XTime ;
    @ApiModelProperty("折线图y坐标(课程总点击率，单位:s)")
    private Integer[] YPlayTime;

    public XYData(String[] XTime, Integer[] YPlayTime) {
        this.XTime = XTime;
        this.YPlayTime = YPlayTime;
    }

    public XYData() {
    }
}
